home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
027a
/
aeclip3.zip
/
AECLIP3.DOC
next >
Wrap
Text File
|
1989-06-10
|
6KB
|
216 lines
AECLIP3.LIB - Copyright 1989, Auto Exec Inc.
ALL RIGHTS RESERVED
Auto Exec BBS (508) 833-0508
3 Nodes, All US Robotics 9600 HST's, 750 Meg On-Line
Only Reg Req'd to D/L up to 450,000 bytes per day
PcBoard Version 14.0/E3, Novel SFT 2.11 Network
AECLIPT.LIB is distributed as a shareware product of Auto Exec Inc.
The library included is fully functional stand alone with no external
libraries required. There are 15 functions written in 'C' for you to
be able to add to your programs. Access to the functions is by including
AECLIP3.LIB in your link command.
Donations of $5 would be appreciated to allow continued development of
shareware clipper addon functions: Donations should be sent to:
Auto Exec Inc.
P.O. Box 1712
Buzzards Bay, MA 02532
The author of this library is Milton F. Shaw Jr.
DISCLAIMER
I make no warranty of any kind, express or implied, including without
limitation, any warranties of merchantability and/or fitness for a
particular purpose. Milton F. Shaw Jr. and Auto Exec Inc. shall not
be liable for any damages, whether direct, indirect, special or
consequential arising from a failure of this program or the functions
contained in AECLIP3.LIB. Milton F. Shaw Jr. and Auto Exec Inc. shall
not be liable for any damage to data or property which may be caused
directly or indirectly by the use of this program or the functions
contained in AECLIP3.LIB.
In no event will Milton F. Shaw Jr. or Auto Exec Inc., be liable to
you for any damages, including lost profits, lost savings or other
incidental or consequential damages arising use or inability to use
this product or for any claim by any other party.
Files you should have:
AEDEMO3.EXE
AECLIP3.DOC
AECLIP3.LIB
Auto Exec Inc - Miscellaneous C Functions
15 Functions
Functions in AECLIP3.LIB:
Linking - I have tested MSC 5.1, TLINK and PLINK86 compilers to link
AECLIP3.LIB with clipper applications. The commands I use:
Link /NOE /STACK:0x4000 <program>,,,clipper+extend+aeclip3
TLINK <program>,,,CLIPPER+EXTEND+AECLIP3
PLINK86 FI <program> lib CLIPPER,EXTEND,AECLIP3
Function Descriptions
--------------------------------------------------------------------------
TmpName()
Purpose: Returns a unique temporary filename
Syntax: x=TmpName()
Returns: Character String
--------------------------------------------------------------------------
SetTime()
Purpose: Set System Time
Syntax: SetTime(hour,min,sec), where
hour,min,sec are integers
Returns: None
--------------------------------------------------------------------------
SetDate()
Purpose: Set System Date
Usage: SetDate(day,month,year), where
day,month,year are integers
Returns: None
--------------------------------------------------------------------------
GetSecs()
Purpose: Returns present seconds from system time
Syntax: x=GetSecs()
Returns: Number
--------------------------------------------------------------------------
GetMins()
Purpose: Returns present minutes from system time
Syntax: x=GetMins()
Returns: Number
--------------------------------------------------------------------------
GetHours()
Purpose: Returns present hour from system time
Syntax: x=GetHours()
Returns: Number
--------------------------------------------------------------------------
Access()
Purpose: Allows checking of file attributes before using
Syntax: Access(filename,code) where,
filename = full pathname if not in default directory
code = 00 to check for existence
02 to check for write permission
04 to check for read permission
06 to check for read/write permission
code is an integer, filename is a character string
Returns: -1 if false, else 0 if true
--------------------------------------------------------------------------
PrntScn()
Purpose: Do a print screen
Syntax: PrntScn()
Returns: None
--------------------------------------------------------------------------
FSearch()
Purpose: Check existence of a filename in the DOS path
Syntax : FSearch(filename)
Returns: Logical
--------------------------------------------------------------------------
IsCtrl()
Purpose: Returns if a character sent is a control character
Syntax: IsCtrl(asc(<character>))
Returns: logical
--------------------------------------------------------------------------
IsDigit()
Purpose: Returns if a character sent is a digit
Syntax: IsDigit(asc(<character>))
Returns: Logical
--------------------------------------------------------------------------
IsPrnt()
Purpose: Returns if a character sent is printable
Usage: IsPrnt(asc(<character>))
Returns: Logical
--------------------------------------------------------------------------
IsPunct()
Purpose: Returns if a character is a punctuation mark
Syntax: IsPunct(asc(<character>))
Returns: Logical
--------------------------------------------------------------------------
IsSpace()
Purpose: Returns if a character sent is a space
Usage: IsSpace()
Returns: Logical
--------------------------------------------------------------------------
StrRev()
Purpose: Reverse the order of characters in a string
Syntax: StrRev(<character string>)
Returns: Character string
--------------------------------------------------------------------------